package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上传课件对象 yc_courseware_file
 * 
 * @author 杨琛
 * @date 2020-11-23
 */
public class YcCoursewareFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 课件名称 */
    @Excel(name = "课件名称")
    private String coursewareName;

    /** 学科类型 */
    @Excel(name = "学科类型")
    private String coursewarePrimary;

    /** 课件文件 */
    @Excel(name = "课件文件")
    private String coursewareFile;

    /** 课件图标 */
    @Excel(name = "课件图标")
    private String coursewareIcon;

    /** 上传人 */
    @Excel(name = "上传人")
    private String coursewareUser;

    /** 文件状态 */
    @Excel(name = "文件状态")
    private Long fileState;

    /** 上传时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fileTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCoursewareName(String coursewareName) 
    {
        this.coursewareName = coursewareName;
    }

    public String getCoursewareName() 
    {
        return coursewareName;
    }
    public void setCoursewarePrimary(String coursewarePrimary) 
    {
        this.coursewarePrimary = coursewarePrimary;
    }

    public String getCoursewarePrimary() 
    {
        return coursewarePrimary;
    }
    public void setCoursewareFile(String coursewareFile) 
    {
        this.coursewareFile = coursewareFile;
    }

    public String getCoursewareFile() 
    {
        return coursewareFile;
    }
    public void setCoursewareIcon(String coursewareIcon) 
    {
        this.coursewareIcon = coursewareIcon;
    }

    public String getCoursewareIcon() 
    {
        return coursewareIcon;
    }
    public void setCoursewareUser(String coursewareUser) 
    {
        this.coursewareUser = coursewareUser;
    }

    public String getCoursewareUser() 
    {
        return coursewareUser;
    }
    public void setFileState(Long fileState) 
    {
        this.fileState = fileState;
    }

    public Long getFileState() 
    {
        return fileState;
    }
    public void setFileTime(Date fileTime) 
    {
        this.fileTime = fileTime;
    }

    public Date getFileTime() 
    {
        return fileTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coursewareName", getCoursewareName())
            .append("coursewarePrimary", getCoursewarePrimary())
            .append("coursewareFile", getCoursewareFile())
            .append("coursewareIcon", getCoursewareIcon())
            .append("coursewareUser", getCoursewareUser())
            .append("fileState", getFileState())
            .append("fileTime", getFileTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
